<?php
include_once dirname(__FILE__).'/define.php';
include_once dirname(__FILE__).'/drm_config.php';
include_once dirname(dirname(__FILE__)).'/models/drm/manager/media.class.php';
function DFGS_model_autoload($classname){
$file = dirname(__FILE__)."/models/".$classname.".php";
if(file_exists($file)){
include_once $file;
return true;
}
return false;
}
spl_autoload_register("DFGS_model_autoload");
function get_drm_config($drm_config){
global $$drm_config;
return $$drm_config;
}
